<?php
use \server\Mysql;
#加载数据库
require_once "server/Mysql.php";
#加载异常文件
require_once "server/Exception.php";
require_once "Exceptions/ValidateException.php";
require_once "server/Validate.php";
require_once "common/function.php";
$db = new Mysql(require 'common/config/database.php');
return $db;


